package com.qst.service;

import com.qst.entity.Schedule;
import com.qst.entity.User;

import java.util.List;

public interface ScheduleService {
    List<Schedule> findByCreator(User user);

    Schedule findById(Integer id);

    void saveSchedule(Schedule schedule);

    Schedule  deleteSchedule(Integer id);

    void updateSchedule(Schedule schedule);
}
